package com.ruoyi.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 历史节点对象 ACT_HI_ACTINST
 *
 * @author ruoyi
 * @date 2019-11-27
 */
public class ActHiActinst
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 流程定义ID */
    @Excel(name = "流程定义ID")
    private String procDefId;

    /** 流程实例ID */
    @Excel(name = "流程实例ID")
    private String procInstId;

    /** 执行实例ID */
    @Excel(name = "执行实例ID")
    private String executionId;

    /** 节点ID */
    @Excel(name = "节点ID")
    private String actId;

    /** 任务实例ID */
    @Excel(name = "任务实例ID")
    private String taskId;

    /** 调用外部的流程实例ID */
    @Excel(name = "调用外部的流程实例ID")
    private String callProcInstId;

    /** 节点名称 */
    @Excel(name = "节点名称")
    private String actName;

    /** 节点类型 */
    @Excel(name = "节点类型")
    private String actType;

    /** 签收人 */
    @Excel(name = "签收人")
    private String assignee;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 耗时 */
    @Excel(name = "耗时")
    private Long duration;

    /** $column.columnComment */
    @Excel(name = "耗时")
    private String tenantId;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setProcDefId(String procDefId)
    {
        this.procDefId = procDefId;
    }

    public String getProcDefId()
    {
        return procDefId;
    }
    public void setProcInstId(String procInstId)
    {
        this.procInstId = procInstId;
    }

    public String getProcInstId()
    {
        return procInstId;
    }
    public void setExecutionId(String executionId)
    {
        this.executionId = executionId;
    }

    public String getExecutionId()
    {
        return executionId;
    }
    public void setActId(String actId)
    {
        this.actId = actId;
    }

    public String getActId()
    {
        return actId;
    }
    public void setTaskId(String taskId)
    {
        this.taskId = taskId;
    }

    public String getTaskId()
    {
        return taskId;
    }
    public void setCallProcInstId(String callProcInstId)
    {
        this.callProcInstId = callProcInstId;
    }

    public String getCallProcInstId()
    {
        return callProcInstId;
    }
    public void setActName(String actName)
    {
        this.actName = actName;
    }

    public String getActName()
    {
        return actName;
    }
    public void setActType(String actType)
    {
        this.actType = actType;
    }

    public String getActType()
    {
        return actType;
    }
    public void setAssignee(String assignee)
    {
        this.assignee = assignee;
    }

    public String getAssignee()
    {
        return assignee;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setDuration(Long duration)
    {
        this.duration = duration;
    }

    public Long getDuration()
    {
        return duration;
    }
    public void setTenantId(String tenantId)
    {
        this.tenantId = tenantId;
    }

    public String getTenantId()
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("procDefId", getProcDefId())
            .append("procInstId", getProcInstId())
            .append("executionId", getExecutionId())
            .append("actId", getActId())
            .append("taskId", getTaskId())
            .append("callProcInstId", getCallProcInstId())
            .append("actName", getActName())
            .append("actType", getActType())
            .append("assignee", getAssignee())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("duration", getDuration())
            .append("tenantId", getTenantId())
            .toString();
    }
}
